import behaviors from "../../config/behaviors";

Component({
  behaviors: [behaviors],
  properties: {
    list: Array
  },
  data: {},
  methods: {
    handleClick(event) {
      const item = event.currentTarget.dataset.item
      wx.navigateTo({
        url: `/sub_product/pages/detail/index?id=${item.id}`
      })
    }
  }
});
